package com.test.user.facade;

import com.test.common.user.service.UserFeignClient;
import org.example.dto.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController implements UserFeignClient {

    @PostMapping("/user/getUserInfo")
    @Override
    public Result getUserInfo() {
        return new Result("成功");
    }
}
